package com.algo.generator.model;

public class IdGeneratorPO {
    /**
     * 主键ID
     */
    private Long id;
    /**
     * 业务桩，主要是生成 id的维度，比如此条记录代表orderCode，那么你这个stub就可以设置为stub
     */
    private String stub;

    public IdGeneratorPO() {
    }

    public IdGeneratorPO(String stub) {
        this.stub = stub;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStub() {
        return stub;
    }

    public void setStub(String stub) {
        this.stub = stub;
    }
}
